using System;
using System.Data;
using System.Configuration;
using System.Collections;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;

public partial class employer_ThongTinChiTietDonHang : System.Web.UI.Page
{
    protected void Page_Load(object sender, EventArgs e)
    {
        string id = Request["id"] as string;
        if (id != null)
        {
            DataTable table = GetData(id);
            dataListSP.DataSource = table;
            dataListSP.DataBind();
        }
    }

    private DataTable GetData(string id)
    {
        DataTable sanPhamBO = new DataTable("FastFood");
        sanPhamBO = (new OrderBO()).GetOrderById(id);
        return sanPhamBO;
    }
}
